//
//  YXImageAEApplyer.h
//  MiaoPaiVideoKitSample
//
//  Created by Makarov on 2017/12/12.
//  Copyright © 2017年 Makarov. All rights reserved.
//

#import "YXAEApplyer.h"
#import <UIKit/UIImage.h>

@interface YXImageAEApplyer : YXAEApplyer

@property (nonatomic, readonly) GLuint width;
@property (nonatomic, readonly) GLuint height;
@property (nonatomic, readonly) GLuint iTexture;
@property (nonatomic, readonly) GLuint oTexture;

- (id)initWithImage:(UIImage *)image;
- (void)usingImage:(UIImage *)image;
- (id)initWithTexture:(GLuint)texture width:(GLuint)width height:(GLuint)height;
- (void)updateITexture:(GLuint)texture width:(GLuint)width height:(GLuint)height;

- (void)apply;

- (void)requestOutputTexture:(void (^)(GLuint oTexture))handler;
- (UIImage *)GetOutputImage;

@end
